package com.vogue.supplymall.example.domain.dao.impl;

import com.vogue.supplymall.example.domain.dao.OrderDao;
import com.vogue.supplymall.example.domain.mapper.OrderMapper;
import com.vogue.supplymall.example.domain.model.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * Created by Administrator on 2017-11-28.
 */
@Repository("orderDao")
public class OrderDaoImpl extends BaseDaoImpl<Order,Long> implements OrderDao {

    @Autowired
    private OrderMapper orderMapper;

    @Override
    public Order findById(Long id) {
        return orderMapper.findById(id);
    }
}
